<?php

namespace App\Models;

use App\Models\Traits\Timestamp;
use Illuminate\Database\Eloquent\SoftDeletes;

class Keyword extends Model
{
    //
    use Timestamp,SoftDeletes;
    protected $guarded = [];
    private $show = 1;

    public function getIsShowAttribute($value)
    {
        if ($value == $this -> show){
            return '是';
        }else{
            return '否';
        }
    }
}
